package com.woniuxy.intellihome.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author jobob
 * @since 2021-08-11
 */
@Getter
@Setter
@ToString
@TableName("m_review")
public class Review {


    private int id;

    private String content;

    private String type;

    private String time;
    @TableField("user_id")
    private Integer userId;
    @TableField("sku_id")
    private Integer skuId;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private List<VGoods> vGoodses;
    @TableField(exist = false)
    private List<String> specValues;
    @TableField(exist = false)
    private String goodsName;
    @TableField(exist = false)
    private String userAccount;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)
    private int spuId;


    public Review() {
        this.content = "";
        this.type = "";
    }
}
